/*
 * @brief:
 * @Author: TzzzT
 * @Date: 2022-05-10 13:59:22
 * @LastEditTime: 2023-04-18 06:12:45
 * @LastEditors: TzzzT
 */
#pragma once

#include "RCS_slave.h"

void rcs_ble_init(void);

void rcs_start_advertise(bool is_allow);
bool rcs_is_advertising(void);
void rcs_stop_advertise(void);
esp_err_t rcs_notify_client(uint8_t *buf, uint16_t buf_len);

void set_master_bda(bd_addr_t bda);
void clean_master_bda(void);
esp_err_t store_master_bda_to_nvs(void);
esp_err_t get_master_bda_from_nvs(void);
